import {legacy_createStore,combineReducers,applyMiddleware, createStore} from 'redux'

import thunk from 'redux-thunk'
import logger from 'redux-logger'

import reducer  from './reducer/reducer'

const allReducer=combineReducers({
    reducer
})
export default createStore(allReducer,applyMiddleware(thunk,logger))